package com.fly.monitor.console.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author Mr.Fu
 * @date 2022/11/26 下午4:17
 */
@Component
public class RemoveTask {

    private static final Logger log = LoggerFactory.getLogger(RemoveTask.class);

    public void invoke(String request) {
        new Thread(() -> {
            log.info("RemoveTask invoke thread -> {}, request -> {}", Thread.currentThread().getId(), request);
        }).start();
    }
}
